package com.atguigu.uml.aggregation;

/**
 * @author ccc
 * @create 2020-07-14 21:12
 */
public class Computer {
    private Moniter moniter;//显示器可以和computer分离
    private Mouse mouse; //鼠标可以和computer分离

    public void setMoniter(Moniter moniter) {
        this.moniter = moniter;
    }

    public void setMouse(Mouse mouse) {
        this.mouse = mouse;
    }
}
